<!DOCTYPE html>
<html>
<head>
<title>用户注册</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="../../css/bootstrap.min.css">
<link rel="stylesheet" href="../../css/font-awesome.min.css">
<link rel="stylesheet" href="../../plugins/jqgrid/ui.jqgrid-bootstrap.css">
<link rel="stylesheet" href="../../plugins/ztree/css/metroStyle/metroStyle.css">
<link rel="stylesheet" href="../../css/main.css">
<script src="../../libs/jquery.min.js"></script>
<script src="../../plugins/layer/layer.js"></script>
<script src="../../libs/bootstrap.min.js"></script>
<script src="../../libs/vue.min.js"></script>
<script src="../../libs/validator.min.js"></script>
<script src="../../plugins/jqgrid/grid.locale-cn.js"></script>
<script src="../../plugins/jqgrid/jquery.jqGrid.min.js"></script>
<script src="../../plugins/ztree/jquery.ztree.all.min.js"></script>
<script src="../../js/common.js"></script>
</head>
<body>
<div id="rrapp" v-cloak>
    
    <div class="panel panel-default text-center">
		<div class="panel-heading">{{title}}</div>
		<form class="form-horizontal" style="width:100%;">
			<div class="form-group">
			   	<div class="col-sm-2 control-label">用户名</div>
			   	<div class="col-sm-5">
			      <input type="text" class="form-control" v-model="user.username" placeholder="登录账号"/>
			    </div>
			</div>
			<div class="form-group">
			   	<div class="col-sm-2 control-label">密码</div>
			   	<div class="col-sm-5">
			      <input type="password" class="form-control" v-model="user.password" placeholder="密码"/>
			    </div>
			</div>
			<div class="form-group">
			   	<div class="col-sm-2 control-label">确认密码</div>
			   	<div class="col-sm-5">
			      <input type="password" class="form-control" v-model="user.password2" placeholder="确认密码"/>
			    </div>
			</div>
			<div class="form-group">
			   	<div class="col-sm-2 control-label">微信号</div>
			   	<div class="col-sm-5">
			      <input type="text" class="form-control" v-model="user.weixin" placeholder="微信号"/>
			    </div>
			</div>
			<div class="form-group">
			   	<div class="col-sm-2 control-label">邮箱</div>
			   	<div class="col-sm-5">
			      <input type="text" class="form-control" v-model="user.email" placeholder="邮箱"/>
			    </div>
			</div>
			<!--<div class="form-group">-->
			   	<!--<div class="col-sm-2 control-label">手机号</div>-->
			   	<!--<div class="col-sm-5">-->
			      <!--<input type="text" class="form-control" v-model="user.mobile" placeholder="手机号"/>-->
			    <!--</div>-->
			<!--</div>-->
			<div class="form-group">
			   	<div class="col-sm-2 control-label">真实姓名</div>
			   	<div class="col-sm-5">
			      <input type="text" class="form-control" v-model="user.realName" placeholder="真实姓名"/>
			    </div>
			</div>
			<div class="form-group">
			   	<div class="col-sm-2 control-label">支付密码</div>
			   	<div class="col-sm-5">
			      <input type="text" class="form-control" v-model="user.payPassword" placeholder="支付密码"/>
			    </div>
			</div>
			<div class="form-group">
			   	<div class="col-sm-2 control-label">推荐人ID</div>
			   	<div class="col-sm-5">
			      <input type="text" class="form-control" v-model="user.referUserId" placeholder="推荐人ID"/>
			    </div>
			</div>
			<div class="form-group">
				<div class="col-sm-2 control-label"></div> 
				<div class="col-sm-5">
					<a href="../../login.html" class="btn btn-warning">返回</a>
					&nbsp;&nbsp;
					<input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
				</div>
			</div>
		</form>
	</div>
</div>

<script src="../../js/modules/sys/register.js"></script>
</body>
</html>